import { createRouter, createWebHistory } from 'vue-router'
// import movie from '../components/movie.vue'
import submit from '../components/submit.vue'
import card from '../components/card.vue'
import personal from '../components/personal.vue'
const routes= [
  {
    path: '/home/:index',
    name: 'submit',
    component: submit,
    
  },
  {path:'/',
  // name:'card',
  component:card,
  },
  {path:"/home/:index",
  name:"personal",
  component:personal
  }

]

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
})

export default router
